package io.renren.modules.neo4j.entity.node;

import io.renren.modules.neo4j.entity.base.BaseNode;
import org.neo4j.ogm.annotation.Relationship;

import java.util.Date;
import java.util.List;

public class user extends BaseNode {

    private Long userId;

    private Date expireTime;

    private String token;

@Relationship
    private List<course> courses ;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<course> getCourses() {
        return courses;
    }

    public void setCourses(List<course> courses) {
        this.courses = courses;
    }
}
